const {createProxyMiddleware} =require('http-proxy-middleware')
mudule.exports=function(app){
    app.use(
        './api',
        createProxyMiddleware({
            target:"localhost:3000",
            changeOrigin:true
        })
    )
}